/* eslint no-unused-vars:0 */
import React from 'react';
import { Tabs, Row } from 'antd';
// import "./App.js";
import ListTab from './listTab.js';
import AddForm from './addForm.js';

const TabPane = Tabs.TabPane;

class adminPage extends React.Component {
    render() {
        return (
            <div className="body">
                <span
                    className="opinion-body"
                    style={{
                        marginTop: '20px'
                    }}>
                    用户管理
                </span>
                <Row />
                <Row className="overview-row2">
                    <div className="card-container">
                        <Tabs type="card">
                            <TabPane tab="用户列表" key="1">
                                <ListTab />
                            </TabPane>
                            <TabPane tab="添加用户" key="2">
                                <AddForm />
                            </TabPane>
                        </Tabs>
                    </div>
                </Row>
            </div>
        );
    }
}
export default adminPage;
